package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 充值服务对象 web_user_card_recharge
 * 
 * @author wsliupan@126.com
 * @date 2021-06-27
 */
@ApiModel("充值服务对象")
public class WebUserCardRecharge extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID" )
    @NotNull(message = "用户ID 不能为空")
    private Long userId;

    @TableField(exist = false)
    @Excel(name = "用户昵称")
    private String nickname;

    @TableField(exist = false)
    @Excel(name = "用户姓名")
    private String realname;

    /** 归属门店 */
    @Excel(name = "归属门店")
    @ApiModelProperty(value = "归属门店" )
    @NotNull(message = "归属门店 不能为空")
    private Long deptId;

    @TableField(exist = false)
    @Excel(name = "门店")
    private String deptName;

    /** 充值卡名称 */
    @Excel(name = "充值卡名称")
    @ApiModelProperty(value = "充值卡名称" )
    @NotNull(message = "充值卡名称 不能为空")
    private String name;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    @ApiModelProperty(value = "剩余金额" )
    @NotNull(message = "剩余金额 不能为空")
    private BigDecimal money;

    /** 总金额 */
    @Excel(name = "总金额")
    @ApiModelProperty(value = "总金额" , hidden = true )
    private BigDecimal countMoney;

    /** 启用状态 */
    @Excel(name = "启用状态")
    @ApiModelProperty(value = "启用状态" )
    @NotNull(message = "启用状态 不能为空")
    private String status;

    /** 服务项目ID */
    @Excel(name = "服务项目ID")
    @ApiModelProperty(value = "服务项目ID" )
    @NotNull(message = "服务项目ID 不能为空")
    private Long recycleTypeId;

    /** 服务项目 */
    @Excel(name = "服务项目")
    @ApiModelProperty(value = "服务项目" )
    @NotNull(message = "服务项目 不能为空")
    private String recycleType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setCountMoney(BigDecimal countMoney) 
    {
        this.countMoney = countMoney;
    }

    public BigDecimal getCountMoney() 
    {
        return countMoney;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRecycleTypeId(Long recycleTypeId) 
    {
        this.recycleTypeId = recycleTypeId;
    }

    public Long getRecycleTypeId() 
    {
        return recycleTypeId;
    }
    public void setRecycleType(String recycleType) 
    {
        this.recycleType = recycleType;
    }

    public String getRecycleType() 
    {
        return recycleType;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
